﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;

namespace Skybot.BaseSocket
{
    /// <summary>
    /// 处理事件数据
    /// </summary>
    public class TCPAsyncServerCloseConnEventArgs:EventArgs
    {

        /// <summary>
        /// TCP服务对像数据终节点,处理事件数据
        /// </summary>
        /// <param name="ep">已经关闭的,终节点</param>
        public TCPAsyncServerCloseConnEventArgs(EndPoint ep)
        {
            ClosedEndPoint = ep;
        }

        /// <summary>
        /// 终端数据节点
        /// </summary>
        public EndPoint ClosedEndPoint
        {
            get;
            protected set;
        }


    }
}
